package dj.common.response;

import com.dj.common.DeJiSerializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * <br>
 * <p>德基：业务中心API response list基类</p><br>
 *
 * @author ZJG
 * @version 1.0
 * @date 2021/7/7 下午2:33
 */
@Setter
@Getter
public class CentralListResponse<T> extends DeJiSerializable {
    private static final long serialVersionUID = -420900168625560741L;

    @ApiModelProperty("状态码")
    private int code = 200;

    @ApiModelProperty("状态描述")
    private String msg = "SUCCESS";

    @ApiModelProperty("数量记录")
    private List<T> data;
}
